#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <cstring>
#include <cstdio>
#include <cctype>

#include "xml_parser.h"
#include "Matrix.h"

using std::string;

bool ClearSaveList( void );
bool AddToSaveList( const char* SourceName, const char* OutputName );
bool InitializeSaveListFromXML( const char* XML_file_name );

void DisplaySaveList( void );

bool SaveVariables( const char* path, double time );
bool SaveVariables( const char* path );

// use 'b' to save in our proprietary, space-saving binary mode
// use 't' to save in universal, larger, tab-delimited plain text

bool SetSaveMode( char SaveType );

char GetSaveMode( void );


bool ClearGlobalVariableList( void );
bool AddToGlobalVariableList( Matrix* DataSource, string DataName );
Matrix* FindGlobalVariableAddress( string DataName );
bool BuildGlobalVariableList( void );
void DisplayGlobalVariableList( void );


